/**
 * Created by zhoushg on 2017/9/29.
 */
import getData from './funcs/getData'
// import {isEmptyObject, isEmptyStr, isRange} from './funcs/required'
// import {toast} from '../utils/gui_main'
// import { getToken } from '../utils/auth'
 // addCode
			// bXHPd1xS- Start
		
        export function GTcaptcha (params) { // 获取验证码
            var data = params
            return new Promise(resolve => {
            
            let data2 = {
              
            }
            params = data2
              function callBack (data) {
                resolve(data)
              }
              getData({
                url: '/user/captcha',
                method: 'get',
                params
              }, callBack)
            })
          }
        
		// bXHPd1xS- end
			